package org.benjamin.lending.repository;

import org.benjamin.lending.domain.entity.MemberInfo;
import org.springframework.data.jpa.repository.JpaRepository;

public interface MemberInfoRepository extends JpaRepository<MemberInfo, Integer>{
	
	MemberInfo findByRecommendCode(String recommecdCode);
	
	boolean existsByUsername(String username);
	
	MemberInfo findByUsername(String username);

	MemberInfo findByEmail(String email);

}
